'''
   Access to remote symbols
'''
class MilSym:
    def __init__(self):
        self.url = 'http://morticia.cs.dal.ca/bongo/SadrCity/icons/'
        
    def Get(self, IFF, arm, symbol):
        ''' Return a URL to get a certain resource (low level access)
            IFF : friendly, enemy, neutral, notknown, nato
            amr : air, land1, land2, sea, equipment, otherthanwar
            symbol : a three digit code.
        '''
        return self.url + IFF + arm + '/' + symbol + '.png'
